
package projForWen;

import java.awt.Color;
import java.awt.Font;
import javax.swing.UIDefaults;
import javax.swing.UIManager;

/**
 *
 * @author Bacteria
 * Created on 2013-2-1, 9:05:36
 */
public class PhotoViewer {
    public static void main(String arg[]){
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            UIDefaults defaults=UIManager.getDefaults();
            defaults.remove("SplitPane.border");
            defaults.remove("SplitPaneDivider.border");
            Font font = new Font("宋体",Font.PLAIN,12);
            UIManager.put("TextArea.font", font); 
            UIManager.put("ToolTip.background", new Color(0x083140));
            UIManager.put("ToolTip.foreground", new Color(0xffffff));
            UIManager.put("ToolTipUI","wgt.core.comp.controls.LinewrapToolTipUI");
        } catch (Exception ex) {
        }
        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                try {
                    MainUI main = MainUI.getInstance();
                    main.setVisible(true);
                    main.requestFocus();
                } catch (Exception ex) {
                    ex.printStackTrace();
                }
            }
        });
    }
}
